package cn.liuweiwei.domain;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Blog {

    private Integer id;
    private String title;
    private String content;
    private String firstPicture;
    private String flag;
    private Integer viewCount = 0;
    //    赞赏的状态
    private Boolean appreciateStatus = false;
    private Boolean commentStatus = false;
    private Boolean publishStatus = false;
    // 推荐的状态
    private Boolean recommendStatus = false;
    private Date createTime;
    private Date updateTime;

    private String typeId;
    private String[] tagIds;
    private String userId;

    private String description;

    // 分类
    private Type type;
    private List<Tag> tagList;

    private User user;
    private List<Message> messageList;

}
